package com.develop.data.loan.manager.change.amount.api;

import com.develop.data.loan.model.LoanInstallment;

import javax.money.MonetaryAmount;
import java.time.LocalDateTime;

public interface LoanInstallmentAmountClear {
    /*
    * preview
    * execute
    * */
    public MonetaryAmount preview(LoanInstallment loanInstallment, LocalDateTime localDate);

    public void execute(LoanInstallment loanInstallment, LocalDateTime localDate);

}
